package com.dliu.javadesign.create.factory.pattern.impl;

import com.dliu.javadesign.create.factory.normal.AwardController;
import com.dliu.javadesign.create.factory.normal.RequestVo;
import com.dliu.javadesign.create.factory.pattern.IAward;

/**
 * 优惠券实现
 * @author yanglei
 * date 2021/3/26 15:51
 */
public class CouponImpl implements IAward {

    @Override
    public void send2User(RequestVo requestVo) {
        new AwardController().sendCoupon(requestVo.getUserId());
    }
}
